module.exports = (app) => {
  const { STRING, BIGINT, INTEGER, DOUBLE, TEXT, DATE } = app.Sequelize;
  const Region = app.model.define('s_region', {
    regionId: { type: BIGINT, primaryKey: true },
    code: STRING(10),
    parentId: STRING(10),
    name: STRING(50),
    flag: INTEGER,
  });

  return Region;
};
